package com.supermate.supercut.app.enums;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

/**
 * @Author: 冰岩
 * @Date: 2023/10/28
 * @Description:
 */
@AllArgsConstructor
public enum ErrorEnums {
    /** --------------------------文件相关错误-------------------------- */
    /** 系统启动时，初始化文件夹错误 */
    INIT_USER_FILE_ROOT_DIR_FAILED("INIT_USER_FILE_ROOT_DIR_FAILED","初始化文件夹失败"),

    RELATIVE_PATH_EXPECT_NOT_BLANK("RELATIVE_PATH_EXPECT_NOT_BLANK","相对路径不能为空"),

    CLIPBOARD_NOT_EXIST_THE_FILE("CLIPBOARD_NOT_EXIST_THE_FILE","截切板上没有该文件"),

    CLIPBOARD_NAME_FILE_ID_EXPECT_NOT_NULL("CLIPBOARD_NAME_FILE_ID_EXPECT_NOT_NULL","下载文件时,截切板名字和文件id不能为空"),
    CLIPBOARD_AND_FILE_EXPECT_NOT_NULL("CLIPBOARD_NAME_FILE_ID_EXPECT_NOT_NULL","上传文件时,截切板名字和文件流不能为空"),

    /** --------------------------截切板文本相关错误--------------------------*/
    CLIPBOARD_NAME_EXPECT_NOT_BLANK("CLIPBOARD_NAME_EXPECT_NOT_BLANK","截切板名字不能为空"),

    UNKNOWN_ERROR("UNKNOWN_ERROR","未知异常，请联系技术人员!");

    @Getter
    private String errCode;

    @Getter
    private String errMsg;

}
